const dataCenterModel = () => import('@/views/dataCenter/index.vue')
const jfsData = () => import('@/views/dataCenter/jfsData/index.vue')
const jfsDataList = () => import('@/views/dataCenter/jfsData/pageList/index.vue')
const wmrData = () => import('@/views/dataCenter/wmrData/index.vue')
const wmrDataList = () => import('@/views/dataCenter/wmrData/pageList/index.vue')

const khyData = () => import('@/views/dataCenter/khyData/index.vue')
const khyDataList = () => import('@/views/dataCenter/khyData/pageList/index.vue')
const interDataList = () => import('@/views/dataCenter/khyData/inter/index.vue')
const transportDetail = () => import('@/views/dataCenter/khyData/detail/index.vue')

export default {
  path: 'data-center-model',
  name: 'enterpriceModel',
  component: dataCenterModel,
  children: [
    {
      path: 'jfs-data',
      name: 'jfsData',
      component: jfsData,
      children: [
        {
          path: 'jfs-data-list',
          name: 'jfsDataList',
          component: jfsDataList,
          meta: {
            title: '金赋水数据',
          },
        },
      ],
    },
    {
      path: 'wmr-data',
      name: 'wmrData',
      component: wmrData,
      children: [
        {
          path: 'wmr-data-list',
          name: 'wmrDataList',
          component: wmrDataList,
          meta: {
            title: '外贸融数据',
          },
        },
      ],
    },
    {
      path: 'khy-data',
      name: 'khyData',
      component: khyData,
      children: [
        {
          path: 'khy-data-list',
          name: 'khyDataList',
          component: khyDataList,
          meta: {
            title: '三方物流平台',
          },
        },
        {
          path: 'inter-data-list',
          name: 'interDataList',
          component: interDataList,
          meta: {
            title: '网络货运平台',
          },
        },
        {
          path: 'transport-detail',
          name: 'transportDetail',
          component: transportDetail,
          meta: {
            title: '三方物流运单数据',
          },
        },
      ],
    },
  ],
}
